<template>
    <p>练习3</p>
</template>
<script>
export default {    
    props:["a"],
    methods:{
        fn(){
            this.$emit("act","父传子改的值");
        }
    }
}
</script>